<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link href="<%=request.getContextPath()%>/css/global.css" type="text/css" rel="stylesheet" />
<link href="<%=request.getContextPath()%>/js/easyui/themes/metro/easyui.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/validate/validate.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/global.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/easyui/easyui.js"></script>
</head>
<body>
 	<div class="easyui-panel" title="展示面板" style="width:100%;" data-options="fit:true">
		<table width="90%" border="0" style="margin-left: 10px;margin-right: 10px;">
			<tr>
				<td height="30" >商户编号 : </td>
				<td height="30" >子账户编号 : </td>
				<td height="30" >商户名称 : </td>
				<td height="30" >商户类型 : </td>
				<td >联系人</td>
				<td ></td>
				<td ></td>
				<td ></td>
			</tr>
			<tr>
				<td height="30" ><s:property value="merchantBean.merNo" /></td>
				<td height="30" ><s:property value="transactionBean.txnNo.substring(0,6)"/></td>
				<td height="30" ><s:property value="merchantBean.merName"/></td>
				<td height="30" ><s:property value="merchantBean.merLevel"/></td>
				<td ><s:property value="merchantBean.merLink"/></td>
				<td ></td>
				<td ></td>
				<td ></td>
			</tr>
			<tr>
				<td colspan="8"><hr /></td>
			</tr>
			<tr>
				<td height="30" >ip地址 : </td>
				<td height="30" >操作系统 : </td>
				<td height="30" >浏览器 : </td>
				<td height="30" >语言 : </td>
				<td height="30" >时区 : </td>
				<td height="30" >ip国家码 : </td>
				<td height="30" >bin国家码 : </td>
				<td ></td>
			</tr>
			<tr>
				<td height="30" ><s:property value="@utils.StringUtil@limit(cardBean.crdIp,20)"/></td>
				<td height="30" ><s:property value="@utils.StringUtil@limit(cardBean.crdOs,20)"/></td>
				<td height="30" ><s:property value="@utils.StringUtil@limit(cardBean.crdBrowser,20)"/></td>
				<td height="30" ><s:property value="@utils.StringUtil@limit(cardBean.crdLocale,20)"/></td>
				<td height="30" ><s:property value="@utils.StringUtil@limit(cardBean.crdTiming,20)"/></td>
				<td height="30" ><s:property value="@utils.StringUtil@limit(cardBean.crdCode,20)"/></td>
				<td height="30" ><s:property value="@utils.StringUtil@limit(cardBean.crdBin,20)"/></td>
				<td></td>
			</tr>
			<tr>
				<td height="30" >卡类型 : </td>
				<td height="30" >卡号 : </td>
				<td height="30"  colspan="2">指纹 : </td>
				<td></td>
				<td></td>
				<td></td>
				<td></td>
			</tr>
			<tr>
				<td height="30" ><s:property value="@utils.StringUtil@limit(cardBean.crdType,20)"/></td>
				<td height="30" ><s:property value="@utils.StringUtil@limit(cardBean.crdNumber,20)"/></td>
				<td height="30"  colspan="2"><s:property value="@utils.StringUtil@limit(cardBean.crdFinger,40)"/></td>
				<td></td>
				<td></td>
				<td></td>
				<td></td>
				
			</tr>
			<tr>
				<td height="30" >收货人名 : </td>
				<td height="30" >收货人电话 : </td>
				<td height="30" >收货人邮箱 : </td>
				<td height="30" >收货人国家 : </td>
				<td height="30" >收货人州/省 : </td>
				<td height="30" >收货人城市 : </td>
				<td height="30" >收货人邮编 : </td>
				<td height="30" >收货人地址 : </td>
			</tr>
			<tr>
				<td height="30" ><s:property value="@utils.StringUtil@limit(cardBean.crdCfname,20)"/> <s:property value="@utils.StringUtil@limit(cardBean.crdClname,20)"/></td>
				<td height="30" ><s:property value="@utils.StringUtil@limit(cardBean.crdCphone,20)"/></td>
				<td height="30" ><s:property value="@utils.StringUtil@limit(cardBean.crdCemail,40)"/></td>
				<td height="30" ><s:property value="@utils.StringUtil@limit(cardBean.crdCcountry,20)"/></td>
				<td height="30" ><s:property value="@utils.StringUtil@limit(cardBean.crdCstate,20)"/></td>
				<td height="30" ><s:property value="@utils.StringUtil@limit(cardBean.crdCcity,20)"/></td>
				<td height="30" ><s:property value="@utils.StringUtil@limit(cardBean.crdCzip,20)"/></td>
				<td height="30" ><s:property value="@utils.StringUtil@limit(cardBean.crdCaddr,20)"/></td>
			</tr>
			
			<tr>
				<td colspan="8"><hr /></td>
			</tr>
			
			
			<tr>
					<td height="30"  >编号 : </td>
					<td height="30" >商户订单号 : </td>
					<td height="30" >来源网站 : </td>
					<td height="30" >原交易币种 : </td>
					<td height="30" >原交易金额 : </td>
					<td height="30" >实时汇率 : </td>
					<td height="30" >交易金额 : </td>
					<td height="30" >发生日期 : </td>
			</tr>
				<tr>
					<td height="30"  ><s:property value="@utils.StringUtil@limit(transactionBean.txnNo,40)"/></td>
					<td height="30" ><s:property value="@utils.StringUtil@limit(transactionBean.txnOrder,40)"/></td>
					<td height="30" ><s:property value="@utils.StringUtil@limit(transactionBean.txnSite,40)"/></td>
					<td height="30" ><s:property value="@utils.StringUtil@limit(transactionBean.txnCur,40)"/></td>
					<td height="30" ><s:text name="global.format.number"><s:param value="transactionBean.txnLoc" /></s:text></td>
					<td height="30" ><s:text name="global.format.number"><s:param value="transactionBean.txnRate" /></s:text></td>
					<td height="30" ><s:text name="global.format.number"><s:param value="transactionBean.txnAmount" /></s:text>&nbsp; &nbsp;(余额<s:text name="global.format.number"><s:param value="transactionBean.txnRemain" /></s:text>)</td>
					<td height="30" ><s:text name="global.format.datetime"><s:param value="transactionBean.txnDate" /></s:text></td>
			</tr>
			<tr>
					<td height="30"  colspan="4">产品信息 : </td>
					<td height="30"  colspan="4">交易备注 : </td>
			</tr>
			<tr>
					<td height="30"  colspan="4"><s:property value="@utils.StringUtil@limit(transactionBean.txnProduct,40)"/></td>
					<td height="30"  colspan="4"><s:property value="@utils.StringUtil@limit(transactionBean.txnRemark,40)"/></td>
			</tr>
			<tr>
					<td height="30"  width="12.5%">退款状态 : <s:if test="transactionBean.txnRefund==0"><img src="<%=request.getContextPath() %>/image/cancel.png"  /></s:if><s:else><img src="<%=request.getContextPath() %>/image/accept.png"  /></s:else></td>
					<td height="30"  width="12.5%">拒付状态 : <s:if test="transactionBean.txnRefuse==0"><img src="<%=request.getContextPath() %>/image/cancel.png"  /></s:if><s:else><img src="<%=request.getContextPath() %>/image/accept.png"  /></s:else></td>
					<td height="30"  width="12.5%">冻结状态 : <s:if test="transactionBean.txnFreeze==0"><img src="<%=request.getContextPath() %>/image/cancel.png"  /></s:if><s:else><img src="<%=request.getContextPath() %>/image/accept.png"  /></s:else></td>
					<td height="30"  width="12.5%">发货状态 : <s:if test="transactionBean.txnLogic==0"><img src="<%=request.getContextPath() %>/image/cancel.png"  /></s:if><s:else><img src="<%=request.getContextPath() %>/image/accept.png"  /></s:else></td>
					<td height="30"  width="12.5%">结算状态 : <s:if test="transactionBean.txnSettle==0"><img src="<%=request.getContextPath() %>/image/cancel.png"  /></s:if><s:else><img src="<%=request.getContextPath() %>/image/accept.png"  /></s:else></td>
					<td height="30"  width="12.5%">安全状态 : <s:if test="transactionBean.txnDanger==0"><img src="<%=request.getContextPath() %>/image/cancel.png"  /></s:if><s:else><img src="<%=request.getContextPath() %>/image/accept.png"  /></s:else></td>
					<td height="30"  width="12.5%">隐藏状态 : <s:if test="transactionBean.txnVisible==0"><img src="<%=request.getContextPath() %>/image/cancel.png"  /></s:if><s:else><img src="<%=request.getContextPath() %>/image/accept.png"  /></s:else></td>
					<td height="30"  width="12.5%">支付状态 : <s:if test="transactionBean.txnState==0"><img src="<%=request.getContextPath() %>/image/cancel.png"  /></s:if><s:else><img src="<%=request.getContextPath() %>/image/accept.png"  /></s:else></td>
			</tr>

			<tr>
				<td colspan="8" ><hr /></td>
			</tr>
			
			<tr>
				<td colspan="8">
						<table id="dataTable" style="width: 100%;" >
						<thead>
						<tr>
							<td height="30" align="left" width="15%">编号</td>
							<td height="30" align="left" width="10%">收单银行</td>
							<td height="30" align="left" width="6%">类型</td>
							<td height="30" align="left" width="19%">上游返回信息</td>
							<td height="30" align="left" width="10%">入账金额</td>
							<td height="30" align="left" width="20%">入账信息</td>
							<td height="30" align="left" width="5%">入账状态</td>
							<td height="30" align="right" width="15%">入账日期</td>
						</tr>
						</thead>
						<tbody>
						<s:iterator value="bcList" id="show" status="seq">
						<tr>
						<td height="30" align="left" ><a href="<%=request.getContextPath()%>/bc_show.html?bcNo=<s:property value="#show.bcNo"/>"><s:property value="#show.bcNo"/></a></td>
						<td><s:property value="#show.bnkNo"/></td>
						<td><s:property value="#show.bcType"/></td>
						<td>[<s:property value="@utils.StringUtil@limit(#show.bcMark,20)"/>]<s:property value="@utils.StringUtil@limit(#show.bcInfo,20)"/></td>
						<td><font color="green"><s:text name="global.format.number"><s:param value="#show.bcAmount"/></s:text></font></td>
						<td>[<s:property value="#show.bcCode"/>]<s:property value="@utils.StringUtil@limit(#show.bcMessage,20)"/></td>
						<td><s:if test="#show.bcState==0"><img src="<%=request.getContextPath() %>/image/cancel.png"  /></s:if><s:else><img src="<%=request.getContextPath() %>/image/accept.png"  /></s:else></td>
						<td align="right"><s:text name="global.format.dateminute"><s:param value="#show.bcDate"/></s:text>
						</tr>
						</s:iterator>
						</tbody>
						</table>
				</td>
			</tr>
			<tr>
				<td colspan="8"><hr /></td>
			</tr>
			<tr>
				<td colspan="8">
						<table id="dataTable" style="width: 100%;" >
						<thead>
						<tr>
							<td height="30" align="left" width="15%">编号</td>
							<td height="30" align="left" width="10%">收单银行</td>
							<td height="30" align="left" width="6%">类型</td>
							<td height="30" align="left" width="19%">上游返回信息</td>
							<td height="30" align="left" width="10%">出账金额</td>
							<td height="30" align="left" width="20%">出账信息</td>
							<td height="30" align="left" width="5%">出账状态</td>
							<td height="30" align="right" width="15%">出账日期</td>
						</tr>
						</thead>
						<tbody>
						<s:iterator value="cbList" id="show" status="seq">
						<tr>
						<td height="30" align="left" ><a href="<%=request.getContextPath()%>/cb_show.html?cbNo=<s:property value="#show.cbNo"/>"><s:property value="#show.cbNo"/></a></td>
						<td><s:property value="#show.bnkNo"/></td>
						<td><s:property value="#show.cbType"/></td>
						<td>[<s:property value="@utils.StringUtil@limit(#show.cbMark,20)"/>]<s:property value="@utils.StringUtil@limit(#show.cbInfo,20)"/></td>
						<td><font color="red"><s:text name="global.format.number"><s:param value="#show.cbAmount"/></s:text></font></td>
						<td>[<s:property value="#show.cbCode"/>]<s:property value="@utils.StringUtil@limit(#show.cbMessage,20)"/></td>
						<td><s:if test="#show.cbState==0"><img src="<%=request.getContextPath() %>/image/cancel.png"  /></s:if><s:else><img src="<%=request.getContextPath() %>/image/accept.png"  /></s:else></td>
						<td align="right"><s:text name="global.format.dateminute"><s:param value="#show.cbDate"/></s:text>
						</tr>
						</s:iterator>
						</tbody>
						</table>
				</td>
			</tr>
			<tr>
				<td colspan="8"><hr /></td>
			</tr>
			
			<tr>
				<td colspan="8">
						<table id="dataTable" style="width: 100%;" >
						<thead>
						<tr>
							<td height="30" align="left" width="15%">编号</td>
							<td height="30" align="left" width="10%">标识</td>
							<td height="30" align="left" width="25%">关联(卡|商户)号 </td>
							<td height="30" align="left" width="15%">类型</td>
							<td height="30" align="left" width="10%">金额</td>
							<td height="30" align="left" width="5%">状态</td>
							<td height="30" align="right" width="15%">日期</td>
						</tr>
						</thead>
						<tbody>
						<s:iterator value="csmList" id="show" status="seq">
						<tr>
						<td height="30" align="left" ><s:property value="#show.csmNo"/></td>
						<td>
								<s:if test="#show.csmSign.startsWith('S')">
									<font color="red"><s:property value="#show.csmSign"/></font>
								</s:if>
									<s:else>
									<font color="green"><s:property value="#show.csmSign"/></font>
								</s:else>
						</td>
						<td><s:property value="#show.csmRef"/></td>
						<td><s:property value="#show.csmType"/></td>
						<td>
								<s:if test="#show.csmSign.startsWith('S')">
									<font color="red"><s:text name="global.format.number"><s:param value="#show.csmAmount"/></s:text></font>
								</s:if>
									<s:else>
									<font color="green"><s:text name="global.format.number"><s:param value="#show.csmAmount"/></s:text></font>
								</s:else>
						</td>
						<td><s:if test="#show.csmState==0"><img src="<%=request.getContextPath() %>/image/cancel.png"  /></s:if><s:else><img src="<%=request.getContextPath() %>/image/accept.png"  /></s:else></td>
						<td align="right"><s:text name="global.format.dateminute"><s:param value="#show.csmDate"/></s:text>
						</tr>
						</s:iterator>
						</tbody>
						</table>
				</td>
			</tr>
			<tr>
				<td colspan="8"><hr /></td>
			</tr>
			
			<tr>
				<td height="30"  >持卡人收益 :</td>
				<td>
					<s:if test="calcCard<0">
						<font color="red"><s:text name="global.format.number"><s:param value="calcCard"/></s:text></font>
					</s:if> <s:else>
						<font color="green"><s:text name="global.format.number"><s:param value="calcCard"/></s:text></font>
					</s:else>&nbsp;
				</td>
				<td height="30"  >商户收益 :</td>
				<td>
					<s:if test="calcMerchant<0">
						<font color="red"><s:text name="global.format.number"><s:param value="calcMerchant"/></s:text></font>
					</s:if> <s:else>
						<font color="green"><s:text name="global.format.number"><s:param value="calcMerchant"/></s:text></font>
					</s:else>&nbsp;
				</td>
				<td height="30"  >平台收益 :</td>
				<td>
					<s:if test="calcSystem<0">
						<font color="red"><s:text name="global.format.number"><s:param value="calcSystem"/></s:text></font>
					</s:if> <s:else>
						<font color="green"><s:text name="global.format.number"><s:param value="calcSystem"/></s:text></font>
					</s:else>&nbsp;
				</td>
				<td height="30"  ></td><td></td>
			</tr>
			
				<tr>
				<td colspan="8"><hr /></td>
			</tr>
			
			<tr>
				<td colspan="8" height="30"><input type="button" class="submit" value="返回上级" onclick="history.go(-1);" /></td>
			</tr>
		</table>
		<br/><br/><br/><br/>
    </div>
</body>
</html>

